/**
 * 
 */
requirejs.config({
    baseUrl:'http://static.auoffice.com/static/js' ,
    waitSeconds: 0,
    paths: {
    	jquery:'libs/jquery.min',
    	validate:'libs/validate/jquery.validate.min',
    	iCheck: 'libs/iCheck/icheck.min',
        //plugins
        base: 'common/base',
    },
    shim: {
    	'validate': {
    		deps: ['jquery'],
    		exports: 'validate'
    	},    	
    	'iCheck': {
    		deps: ['jquery'],
    		exports: 'iCheck'
    	},
    }
});

require([
    'jquery',
 	'common/base',
 	'validate',
 	'iCheck'
],
function($,base) {
	
	$(document).ready(function(){
		$(".i-checks").iCheck({
			checkboxClass:"icheckbox_square-green",
			radioClass:"iradio_square-green",
		});
	});
});